<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->


<!DOCTYPE html
  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="zh-cn" xml:lang="zh-cn">
<head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="DC.Type" content="topic">
<meta name="DC.Title" content="OpenStack备份任务始终处于“开始使用快照创建临时卷”阶段时，如何停止任务">
<meta name="product" content="">
<meta name="DC.Relation" scheme="URI" content="Open_Stack_00069.html">
<meta name="prodname" content="">
<meta name="version" content="">
<meta name="brand" content="">
<meta name="DC.Publisher" content="20250306">
<meta name="prodname" content="csbs">
<meta name="documenttype" content="usermanual">
<meta name="DC.Format" content="XHTML">
<meta name="DC.Identifier" content="Open_Stack_00084">
<meta name="DC.Language" content="zh-cn">
<link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
<title>OpenStack备份任务始终处于“开始使用快照创建临时卷”阶段时，如何停止任务</title>
</head>
<body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px"><a name="Open_Stack_00084"></a><a name="Open_Stack_00084"></a>

<h1 class="topictitle1">OpenStack备份任务始终处于“开始使用快照创建临时卷”阶段时，如何停止任务</h1>
<div><div class="section"><h4 class="sectiontitle">现象描述</h4><p>客户端所在主机在备份OpenStack云服务器过程中，任务进度始终停在30%，任务阶段为“开始使用快照创建临时卷”。</p>
</div>
<div class="section"><h4 class="sectiontitle">可能原因</h4><p>OpenStack对接的后端存储存在大容量的LUN克隆任务，导致当前使用快照创建卷的克隆任务长时间处于排队中。</p>
</div>
<div class="section"><h4 class="sectiontitle">处理步骤</h4><p>用户需要停止备份任务时，可按以下步骤处理。</p>
<ol><li><span>登录OpenStack OM界面。</span></li><li id="Open_Stack_00084__li185448101365"><a name="Open_Stack_00084__li185448101365"></a><a name="li185448101365"></a><span>选择<span class="uicontrol">“资源 &gt; 存储 &gt; 磁盘”</span>，在磁盘页面找到名称为“Backup_volume_<em>snapID</em>”（snapID为备份任务中展示的快照ID）的处于创建中状态的卷，并记录卷ID。</span></li><li><span>登录OpenStack对接的DeviceManager界面。</span></li><li><span>选择<span class="uicontrol">“服务 &gt; 块服务 &gt; LUN组”</span>，单击<span class="uicontrol">“LUN”</span>进入LUN页签。</span></li><li id="Open_Stack_00084__li753572162813"><a name="Open_Stack_00084__li753572162813"></a><a name="li753572162813"></a><span>单击每个LUN的名称将显示LUN的概要信息，通过LUN的创建时间和<a href="#Open_Stack_00084__li185448101365">2</a>记录的卷ID（对应LUN的描述），找到卷对应的LUN，记录LUN名称。</span></li><li><span>选择<span class="uicontrol">“数据保护 &gt; 对象 &gt; LUN”</span>，单击<span class="uicontrol">“克隆Pair”</span>，进入克隆Pair页签。</span></li><li><span>通过<a href="#Open_Stack_00084__li753572162813">5</a>记录的LUN名称（对应目标LUN），找到对应的克隆Pair。在克隆Pair所在行单击<span class="uicontrol">“更多 &gt; 停止同步”</span>，等待停止同步成功后删除该克隆Pair。</span></li><li><span>使用PuTTY，登录OpenStack主节点。</span></li><li><span>依次执行以下命令，删除临时卷（“volumeId”参数值为<a href="#Open_Stack_00084__li185448101365">2</a>记录的卷ID）。</span><p><pre class="screen">cinder reset-state <em>volumeId</em> --attach-status detached</pre>
<pre class="screen">cinder reset-state <em>volumeId</em> --state available</pre>
<pre class="screen">cinder delete <em>volumeId</em></pre>
</p></li><li><span>删除临时卷后，备份任务将会因创建临时卷失败而结束。</span></li></ol>
</div>
<p></p>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>父主题：</strong> <a href="Open_Stack_00069.html">常见问题</a></div>
</div>
</div>

<div class="hrcopyright"><hr size="2"></div><div class="hwcopyright">版权所有 &copy; 华为技术有限公司</div></body>
</html>